package com.yl.users.services

import com.yl.common.control.ResponseBody
import com.yl.users.entity.CompanyPermissionsView

/**
 * 公司权限
 */
interface ICompanyPermViewService {

	/**
	 * 获取权限明细
	 */
	fun getCompanyPermViewDetail(id:Long):CompanyPermissionsView?

	/**
	 * 修改
	 */
	fun updateCompanyPermView(companyPermissionsView: CompanyPermissionsView): ResponseBody

	/**
	 * 删除
	 */
	fun delCompanyPermView( id: Long): ResponseBody

	/**
	 * 绑定上级权限
	 */
	fun bindParentId(viewId:Long,parentId:Long):ResponseBody


}